import { ref, reactive } from 'vue'
import { defineStore } from 'pinia'

export const useUserStore = defineStore('user', () => {
  const open = ref(true)
  const username=ref('');
  const name=ref('');
  const token=ref('');
  const password=ref('');
  const radioValue=ref('');
  const id=ref(-1)
  const login=ref(false)
  const commentInput=ref(-1)
  const articleId=ref(-1)
  const avatar=ref('')
  return { open, username,name,token,password,radioValue,id ,login,commentInput,articleId,avatar}
})
